<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">

    <title>用户编辑</title>

    <!-- Vendors Style-->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/vendors_css.css">

    <!-- Style-->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/style.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/skin_color.css">

</head>

<body class="hold-transition light-skin sidebar-mini theme-primary fixed">

<div class="container-full">
    <!-- Content Header (Page header) -->
    <div class="content-header">
        <div class="d-flex align-items-center">
            <div class="mr-auto">
                <h3 class="page-title">用户列表</h3>
                <div class="d-inline-block align-items-center">
                    <nav>
                        <ol class="breadcrumb">
                            <li class="breadcrumb-item"><a href="#"><i class="mdi mdi-home-outline"></i></a></li>
                            <li class="breadcrumb-item"><a href="#">用户列表</a></li>
                            <li class="breadcrumb-item active" aria-current="page">用户添加</li>
                        </ol>
                    </nav>
                </div>
            </div>
        </div>
    </div>

    <!-- Main content -->
    <section class="content">

        <div class="row">
            <div class="col-12">
                <div class="box">
                    <!-- /.box-header -->
                    <div class="box-body no-padding">
                        <form class="form" method="post" action="${pageContext.request.contextPath}/userAdd">
                            <div class="box-body">
                                <div class="form-group">
                                    <label>用户账号</label>
                                    <div class="input-group mb-3">
                                        <input name="userNo" type="text" class="form-control" placeholder="Username">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label>密码</label>
                                    <div class="input-group mb-3">
                                        <input name="pwd" type="password" class="form-control" placeholder="Password">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label>确认密码</label>
                                    <div class="input-group mb-3">
                                        <input name="confirmPwd" type="password" class="form-control" placeholder="Confirm Password">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label>用户姓名</label>
                                    <div class="input-group mb-3">
                                        <input name="userName" type="text" class="form-control" placeholder="Username">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label>部门</label>
                                    <select class="form-control" name="deptNo">
                                        <option value="0">请选择</option>
                                        <c:forEach var="d" items="${depts}">
                                            <option value="${d.deptNo}">${d.deptName}</option>
                                        </c:forEach>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label>性别</label>
                                    <div class="c-inputs-stacked">
                                        <input name="sex" type="radio" id="radio_123" value="0" class="with-gap radio-col-primary" checked>
                                        <label for="radio_123" class="mr-30">男</label>
                                        <input name="sex" type="radio" id="radio_456" value="1" class="with-gap radio-col-primary">
                                        <label for="radio_456" class="mr-30">女</label>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label>年龄</label>
                                    <div class="input-group mb-3">
                                        <input name="age" type="text" class="form-control" placeholder="age">
                                    </div>
                                </div>
                            </div>
                            <!-- /.box-body -->
                            <div class="box-footer">
                                <button type="button" class="btn btn-rounded btn-warning btn-outline mr-1" onclick="history.go(-1)">
                                    <i class="ti-trash"></i> 取消
                                </button>
                                <button type="submit" class="btn btn-rounded btn-primary btn-outline">
                                    <i class="ti-save-alt"></i> 保存
                                </button>
                            </div>
                        </form>
                    </div>
                    <!-- /.box-body -->
                </div>
                <!-- /.box -->
            </div>
        </div>
        <!-- /.row -->

    </section>
    <!-- /.content -->
</div>


<!-- Vendor JS -->
<script src="${pageContext.request.contextPath}/static/js/vendors.min.js"></script>
<script src="${pageContext.request.contextPath}/static/js/chat-popup.js"></script>
<script src="${pageContext.request.contextPath}/static/js/feather.min.js"></script>

<script src="${pageContext.request.contextPath}/static/js/moment.min.js"></script>
<script src="${pageContext.request.contextPath}/static/js/fullcalendar.js"></script>

<!-- EduAdmin App -->
<script src="${pageContext.request.contextPath}/static/js/template.js"></script>

<script src="${pageContext.request.contextPath}/static/js/calendar.js"></script>

</body>
</html>

